package com.colvir.infows.info;

import org.apache.cxf.binding.soap.SoapMessage;
import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor;
import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.phase.Phase;

public class BaseLoggerInterceptor extends AbstractSoapInterceptor {

	public BaseLoggerInterceptor() {
		 super(Phase.INVOKE);
    }
	
	@Override
	public void handleMessage(SoapMessage arg0) throws Fault {
		 java.util.logging.Logger.getLogger(InfoService.class.getName())
         .log(java.util.logging.Level.INFO,"-------------TEST-------------");
	}

}
